package com.tom.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.tom.constant.OperationEnum;
import com.tom.constant.ReasonEnum;

import java.util.List;

@Data
@ApiModel("文章变更参数传输对象")
public class ArticleOperateParamDTO {

    /**
     * 操作类型
     */
    @ApiModelProperty(value = "操作类型", required = true)
    private OperationEnum operation;

    /**
     * 文章参数
     */
    @ApiModelProperty(value = "文章参数", required = true)
    private List<ArticleParamDTO> articleParams;

    /**
     * 变动原因
     */
    @ApiModelProperty(value = "变动原因", required = true)
    private ReasonEnum reason;

}
